import { combineReducers } from 'redux';
import addressReducer, { AddressState } from './reducers/addressReducers';
import { skuReducer } from './reducers/skuReducers';
import { cartReducerV2 } from './reducers/cartReducersV2';


export interface RootState {
    address: AddressState;
    sku: {};
    cart: {};
}

const rootReducer = combineReducers({
    address: addressReducer,
    sku: skuReducer,
    cartV2: cartReducerV2
});

export default rootReducer;